improving the deployment script