adding dynamic environment setting