change config to using ENV