Script to generate scoreboard