bits and pieces to keep scores updated, add updateAllItemScores() function and a test script to call it
items without any tags should get a score of 0