public override void LoadScript(string name)
        {
            // Get a reference to the script loader
            var scriptLoader = Script.DefaultOptions.ScriptLoader;

            // Find the system path to the current script
            var scriptPath = scriptLoader.ResolveModuleName(name, null);

            // Attach the file name to the script when loading it
            LuaScript.DoFile(name, null, scriptPath);
        }