more tweaks to deploy script