made environment part of config data
made environment part of config data