updated deploy script to checkout master before deployment
changed deploy script to print message and exit if the current branch is not master