XPilot bot in python