fix the deploy script