Deployment script fixes.