Segment variable groups by environment