Now with automatic score.
Good luck if anyone tried to refactor this...