tweaks to deploy mode