Fixed bug introduced in abe62a5d
Human readable error when no env variables set

Also, redirected error message to stderr
Updated docstring
Fixed bug