public ScriptTaskListener runScript(File scriptFile) throws PluginException {
		GhidraScriptMgrPlugin scriptManagerPlugin = getPlugin(GhidraScriptMgrPlugin.class);
		if (scriptManagerPlugin == null) {
			lazyTool().addPlugin(GhidraScriptMgrPlugin.class.getName());
			scriptManagerPlugin = getPlugin(GhidraScriptMgrPlugin.class);
		}

		JavaScriptProvider scriptProvider = new JavaScriptProvider();
		PrintWriter errWriter = new PrintWriter(System.err);
		ResourceFile resourceFile = new ResourceFile(scriptFile);
		GhidraScript script = null;
		try {
			script = scriptProvider.getScriptInstance(resourceFile, errWriter);
		}
		catch (GhidraScriptLoadException e) {
			Msg.error(TestEnv.class, "Problem creating script", e);

		}
		if (script == null) {
			errWriter.flush();
			throw new RuntimeException("Failed to compile script " + scriptFile.getAbsolutePath());
		}

		String scriptName = scriptFile.getName();
		ScriptTaskListener listener = new ScriptTaskListener(scriptName);
		scriptManagerPlugin.runScript(scriptName, listener);
		return listener;
	}
Launches the default tool of the test system ("CodeBrowser").
This method will load the tool from resources and <b>not from the
user's Ghidra settings</b>.
<p>
<b>Note:</b> Calling this method also changes the tool that this
instance of the TestEnv is using, which is the reason for the existence
of this method.
@return the tool that is launched
Ghidra/Features/Base/src/main/java/ghidra/test/TestEnv.java