minor improvements to deploy script