updated to support setting environment variables
added installation instructions