Modify Flight Might Work Now???

Need to test/debug. Also am questioning my logic on the if statements,
but hey, it's late, and that's tomorrow's problem.