automatically calculate_scores from commit 44aa5c04f3a2301923606d8597f5d2201146caf7