Environment script update