private bool LoadScript(string scriptPath) { if (!File.Exists(scriptPath)) throw new FileNotFoundException(); var asm = this.GetAssembly(scriptPath); if (asm == null) return false; this.LoadScriptAssembly(asm, scriptPath); return true; }