Altering some of the environment variable names to make configuration clearer, and adding more documentation.