Moved ScriptRunned to java realm.