Thanks. Funny you mention the anchors...the first couple versions of the script had all the anchors in place, but I got several replies that said I didn't need them, or should take them out, so I did. In the case of this script (as far as the input it was written to handle), they appear to work either way, but indeed with different input they might not.