scoreboard working. Lot of code cleanup and security on php pending.