redo overlap_check.py for new format