Add Filter to ScriptManager for FunctionsToRegister