Add ScriptCompiler method