How do airlines schedule flights?