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