updates to set environment