Tweaks to the auto-deploy scripts