private void SaveCustomScripts(XmlDocument xmlDoc, CustomScriptConfigData configData)
        {
            XmlOldCustomScripts xmlCustomScripts = new XmlOldCustomScripts();

            xmlCustomScripts.Enabled = configData.Enabled;
            xmlCustomScripts.CustomScriptList = new List<CustomScript>(configData.CustomScriptList);

            xmlCustomScripts.SaveConfig(xmlDoc);
        }
        private void LoadCustomScripts(XmlDocument xmlDoc, CustomScriptConfigData configData)
        {
            XmlOldCustomScripts xmlCustomScripts = new XmlOldCustomScripts();
            xmlCustomScripts.LoadConfig(xmlDoc);

            configData.Enabled = xmlCustomScripts.Enabled;
            configData.ClearCustomScriptList();
            configData.AddRangeToCustomScriptList(xmlCustomScripts.CustomScriptList);
        }