Added tacnk control mode to bot code