add output to compare script