fixed the deploy script