modified deployment script