minor work on Caterpillar script