Fixed SQL and Scoreboard