Make env configurable via config