fix up deploy script