add environment to config