Fixing some of the deploy stuff