Modified deploy scripts for cap 3