public String getScriptFile(String scriptFile, CommandType commandType) {
		if (StringUtils.isNotBlank(scriptFile)) {
			return new File(scriptFile).getName();
		}
		switch (commandType) {
		case CONFIGURE:
			return DockerfileGenConfig.CONFIGURE_SCRIPT;
		case RUN:
			return DockerfileGenConfig.RUN_SCRIPT;
		default:
			break;

		}
		return null;
	}
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