Changes to deploy script to allow repeatability in jenkins QA Deployment Runs