Update ScriptLoader.cpp