Fix the ScriptCompiler