Change to Flight PHP based API