; and (2) any reference in the Wilderness Act ( 16 U.S.C. 1131 et seq.) to the Secretary of Agriculture shall be considered to be a reference to the Secretary that has jurisdiction over the wilderness area. (b) Fire management and related activities (1) In general The Secretary may take any measures in a wilderness area as are necessary for the control of fire, insects, and diseases in accordance with section 4(d)(1) of the Wilderness Act ( 16 U.S.C. 1133(d)(1) ) and House Report 98–40 of the 98th Congress. (2) Funding priorities Nothing in this Act limits funding for fire and fuels management in the wilderness areas. (3) Revision and development of local fire management plans As soon as practicable after the date of enactment of this Act, the Secretary shall amend the local information in the Fire Management Reference System or individual operational plans that apply to the land designated as a wilderness area. (4) Administration Consistent with paragraph (1) and other applicable Federal law, to ensure a timely and efficient response to fire emergencies in the wilderness areas, the Secretary shall enter into agreements with appropriate State or local firefighting agencies. (c) Grazing The grazing of livestock in the wilderness areas, if established before the date of enactment of this Act, shall be permitted to continue, subject to any reasonable regulations as the Secretary considers necessary in accordance with— (1) section 4(d)(4) of the Wilderness Act ( 16 U.S.C. 1133(d)(4) ); (2) the guidelines set forth in Appendix A of House Report 101–405, accompanying H.R. 2570 of the 101st Congress for land under the jurisdiction of the Secretary of the Interior; (3) the guidelines set forth in House Report 96–617, accompanying H.R. 5487 of the 96th Congress for land under the jurisdiction of the Secretary of Agriculture