Improved ScoreRecord reading function