Once the full deployment package has been created, it is ready to be run in the QA and/or PROD environment. The deployment folder should be copied to the EWSoftware folder in the target environment. In most new environments, the file structure will be identical between environments. If there are differences, it may be necessary to add some conditional logic to the deploy.bat script to detect which environment in which it is running and copy the files to the appropriate directory. Similarly, any SQL updates will need to reference the target database (and credentials). A good practice is to copy the deploy scripts from the previous deployment to the new one as it is likely the same types of files will need to be deployed. If there is a need for conditional logic, copying the scripts also ensures refinements are made once and used repeatedly which will greatly increase the rate of successful deployment executions.