Added possibility to modify the flight