; and (B) management costs associated with any— (i) major disaster; (ii) emergency; (iii) disaster preparedness measure; or (iv) mitigation activity or measure authorized under section 203, 204, 205, or 404. (4) Availability Excess funds for management costs made available to a grantee or subgrantee under paragraph (2) shall remain available to the grantee or subgrantee until the date that is 5 years after the date on which the excess funds for management costs are made available under paragraph (2). . (b) Applicability The amendments made by subsection (a) shall apply with respect to any grant award in relation to a major disaster or emergency declared under section 401 or 501, respectively, of the Robert T. Stafford Disaster Relief and Emergency Assistance Act (42 U.S.C. 5170, 5191)— (1) the declaration of which is open on, or made on or after, the date of enactment of this Act; and (2) that is funded with amounts appropriated on or after the date of enactment of this Act.