added env option to be set in global config