add script to process chase card report, some helper methods