update environment deploy scripts