tidy up deploy script