public string DetectJobType() { string retval; if (Script.Contains("Texplorer")) retval = "TEXTURE"; else retval = "OTHER"; return retval; }