Added some real implamentation to ScriptingManager