update environment scripts