public void setRunScriptsNoImport(boolean runScriptsOnly, String filename) {
		if (filename != null) {
			filename = filename.trim();
			if (filename.indexOf("/") >= 0) {
				throw new IllegalArgumentException("invalid filename specified");
			}
		}
		this.runScriptsNoImport = runScriptsOnly;
		this.domainFileNameToProcess = filename;
	}
Set to run scripts (and optionally, analysis) without importing a
program.  Scripts will run on specified folder or program that already
exists in the project.

@param runScriptsOnly if true, no imports will occur and scripts
						 (and analysis, if enabled) will run on the specified existing program
					     or directory of programs.
@param filename name of specific project file or folder to be processed (the location
					 is passed in elsewhere by the user).  If null, user has not specified
					 a file to process -- therefore, the entire directory will be processed.
					 The filename should not include folder path elements which should be 
                  specified separately via project or URL specification.
@throws IllegalArgumentException if the specified filename is invalid and contains the
path separator character '/'.
Ghidra/Features/Base/src/main/java/ghidra/app/util/headless/HeadlessOptions.java