update to cap deploy script