code: private Object getScriptResult(String script, ScriptEngine engine) throws ScriptException {
          String scriptToExecute = script.substring(script.indexOf(":") + 1);
          return engine.eval(scriptToExecute);
      }
docs: Evaluates the script expression
  
  @return script expression result