Map<String,String> parameters = new HashMap<String, String>();
Map<String,String> persistentParameters = new HashMap<String, String>();
List<RCCookie> cookies = new ArrayList<RequestContext.RCCookie>();
// create engine and execute it
new SmartScriptEngine(new SmartScriptParser(documentBody).getDocumentNode(),
new RequestContext(System.out, parameters, persistentParameters, cookies)
).execute();
}