Reworked to quickly generate all the comparison datasets.