fix to deployment script