Fixed a syntax error in the setScore procedure