Adding usage output and support for env vars.