private string ProcessScript(string path)
        {
            // Load file and data
            string         content        = File.ReadAllText(path);
            bool           isEditorScript = path.Contains("/Editor");
            ScriptSettings scriptSettings = (!isEditorScript) ? _preferences.ProjectScriptSettings : _preferences.EditorScriptSettings;
            StringBuilder  script         = new StringBuilder(content);

            // Add license
            if (scriptSettings.IncludeLicense)
            {
                script.Insert(0, scriptSettings.License);
            }

            // Add includes
            if (scriptSettings.UseIncludeTemplate)
            {
                StringBuilder includes = new StringBuilder();
                foreach (string ns in scriptSettings.Includes)
                {
                    includes.AppendFormat("using {0};", ns);
                }

                MatchCollection matches = Regex.Matches(script.ToString(), "(using .+\n)", RegexOptions.None);
                StringBuilder   usings  = new StringBuilder();
                foreach (Match match in matches)
                {
                    usings.Append(match.Value);
                }

                script.Replace(usings.ToString(), includes.ToString());
            }

            // Add namespace
            if (scriptSettings.UseNamespace)
            {
            }

            File.WriteAllText(path, script.ToString());
        }
 private string GenerateNamespace(ScriptSettings settings)
 {
 }