As it stands makeHistFile is going to grow and be unmanageable for the different processes. A better approach would be to have it more like a library, where specific processes can implement their own custom options. Could also use inheritance, so you can still call makeHistFile in a simple case, or have, e.g., makeWZHistFile if more options are needed.
@dteague maybe you've already looked at this?