Updated score.py