Fixing rake reset
Adding printing of stats on duplicates