Added some score code.