public String getScriptTemplate(Map<String, Object> values) {
		try {
			Configuration freemarkerConfig = new Configuration(DEFAULT_INCOMPATIBLE_IMPROVEMENTS);
			freemarkerConfig.setObjectWrapper(new DefaultObjectWrapper(DEFAULT_INCOMPATIBLE_IMPROVEMENTS));
			freemarkerConfig.setDirectoryForTemplateLoading(config.getHomeScriptTemplateDirectory());
			Template template = freemarkerConfig.getTemplate(getScriptTemplateName());
			StringWriter writer = new StringWriter();
			template.process(values, writer);
			return writer.toString();
		} catch (Exception e) {
			throw processException("Error while fetching the script template.", e);
		}
	}
Get the initial script with the given value map.

@param values map of initial script referencing values.
@return generated string
ngrinder-controller/src/main/java/org/ngrinder/script/handler/ScriptHandler.java