update pyscore.py to work with fixtures