Changed lookup code to use the new score values.