define environment assignment for tracked environments