updating scoring function to print tsv values