Trapgroupbsearch.py