updated environment stuff