added a variant to apply the environment update function on the flight, instead of keeping a list of them, see LeftoRightS and LeftoRightP5