fixed query for all_scores
removed performance logging