Deployment script improvements.