Fix the deployment.

Fixed for now, but I need to really look at improving this.