tons of bot code changes