Improved documentation
Improved the example by using a getenv() call