changed ir and us flags