upgraded deploy scripts