adding environment setting to example