Renamed ScriptManager to ScriptContext