ran script for all groups