Moved all BOT code into bot statements to allow for turning them off...