a couple minor tweaks with deploy logic