changes to distributed collect.c overlay