Fixed an issue where a loop was happening on a non-existent var. Also update the example environmental variables text file.
Updated version.