Add missing environment variables to the request.
Fix some minor issues.
Merge pull request #13 from rrch/master

Add missing environment variables to the request.