Better exception handling in Scores.py