fix up the deploy script