Added ScriptManager support