some tweaks on the deploy script