Added final score logic and display