moved env setup