change the order of flags to fit the new golder linkder