New version of the deploy script