private static String buildUserScriptsDirectory() {

		String root = System.getProperty("user.home");
		String override = System.getProperty(GhidraScriptConstants.USER_SCRIPTS_DIR_PROPERTY);
		if (override != null) {
			Msg.debug(GhidraScriptUtil.class, "Using Ghidra script source directory: " + root);
			root = override;
		}

		String sourcePath = root + File.separator + SCRIPTS_SUBDIR_NAME;
		return sourcePath;
	}
User's home scripts directory. Some tests may override the default using the 
SystemUtilities.USER_SCRIPTS_DIR system property.
@return the path to the default user scripts directory
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScriptUtil.java