private Map<String, ResourceFile> checkScriptsList(List<Pair<String, String[]>> scriptsList) {
		Map<String, ResourceFile> map = new HashMap<>();
		for (Pair<String, String[]> scriptPair : scriptsList) {
			String scriptName = scriptPair.first;
			ResourceFile scriptFile = checkScript(scriptName);
			map.put(scriptName, scriptFile);
		}
		return map;
	}
Creates mapping from script name to actual Script object

@param scriptsList  List of scripts
@return  mapping of script name to its associated Script object
Ghidra/Features/Base/src/main/java/ghidra/app/util/headless/HeadlessAnalyzer.java