modified how the deployment script is runw