Improved deployment script for handing new clone and pull