Updated Flight Python Script