fixed some problems after moving ScriptRunner