editing flight code for sr