Refactor: Deploy scripts are now more DRY.