Create InvalidScriptException