Added env var support for more options.