This is the Script (Python) "pyLabGroupMenus" in https://engineering.purdue.edu/Wraps/ECO/wrap8_dev_pre_merge/required