Changed the deployment.py to remove spaces from deployment names.