Logic error in ScoreGenerator.py fixed!