added envVar examples + minor bugfix

Added some example environmentVariables, fixed a minor regex bug and made a cleanup of the environmentVariableModule