more tweaks to deploy scripts