add different env handlings for various settings