Thanks aaronc7.

I'm going to try to make the procedure self-contained...