added instantiation option for env settings