prep for cap deploy