added different env options when loading config.