added plugin environment config file
added a unit test file
changed mechanism for reading env vars
changed mechanism for reading env vars