Fixed a problem with the score variable.