Script now accepts a group size range instead of just the maximum group size