public String getScript(CommandType commandType, String commands) throws HyscaleException {
		if (StringUtils.isBlank(commands)) {
			return null;
		}
		ConfigTemplate configTemplate = templateProvider.getTemplateFor(commandType);
		Map<String, Object> configureCmdContext = new HashMap<>();
		configureCmdContext.put(commandType.getTemplateField(), commands);
		
		return templateResolver.resolveTemplate(configTemplate.getTemplatePath(), configureCmdContext);
	}
If Script provided copy it to the directory Config Script, Run Script, Init
Script In case of commands write it to script file
dockerfile-generator/dockerfile-gen-services/src/main/java/io/hyscale/dockerfile/gen/services/manager/impl/DockerScriptManagerImpl.java