move env data out of code