long start = System.currentTimeMillis();
currentResultSet.clear();
Object result = new OCommandScript("Javascript", iScriptText).execute();
out.printf("Script executed in %f sec(s). Value returned is: %s", (float) (System.currentTimeMillis() - start) / 1000, result);
}