Patching up deploy script.