Implemented shell scripts for deploying masters.