Added environment tag-related routines