Added score writing