Deployment script fix