Use stristr for both basic string and array of options for environment
Merge pull request #3 from ChrisAnstey/master

Use stristr for both basic string and array of options for environment