Lot of bug fixes. Scoring and bot works again