Use os.environ for environment variables.
Merge pull request #1 from OP2/env-vars

Use os.environ for environment variables.