MassPay

Here's a first pass at a script to help with MassPay (#943).