moved ScriptEngine up