Miscellaneous MR processing scripts