fixed the deployment script