updated score.py