Finish scoreboard function