Make config environment aware