auto generate flights if empty