script to collect the best unique outputs of a run