allow the deployment to be run more than once
Merge pull request #169 from adrianbanks/fix-deployment-script

Allow the deployment script to be run more than once