modify environment scripts