Food for Education and Child Nutrition Program Grants in title I of division M of Public Law 117–328 , the matter under the headings Agricultural Research Service—Buildings and Facilities , Food Safety and Inspection Service , Rural Housing Service— Rural Community Facilities Program Account (except all that follows after expended in such matter and except that such matter shall be applied by substituting $25,300,000 for $75,300,000 ), and Rural Utilities Service—Rural Water and Waste Disposal Program Account (except all that follows after expended in such matter and except that such matter shall be applied by substituting $60,000,000 for $325,000,000 ) in title I of division N of Public Law 117–328 , and section 2102 in title I of such division N. (2) The Commerce, Justice, Science, and Related Agencies Appropriations Act, 2023 (division B of Public Law 117–328 ), except section 540, and except section 521(d)(1) shall be applied by substituting $122,572,000 for $705,768,000 , and including the matter under the headings Federal Prison System—Buildings and Facilities and National Science Foundation—STEM Education (except all that follows after 2024 in such matter and except that such matter shall be applied by substituting $92,000,000 for $217,000,000 ) in title II of division N of Public Law 117–328 , and the second paragraph under each of the headings National Oceanic and Atmospheric Administration—Operations, Research, and Facilities (except all that follows after 2024 in such paragraph and except that such paragraph shall be applied by substituting $42,000,000 for $62,000,000 ), National Oceanic and Atmospheric Administration—Procurement, Acquisition and Construction , National Aeronautics and Space Administration—Construction and Environmental Compliance and Restoration , and National Science Foundation—Research and Related Activities (except all that follows after 2024 in such paragraph and except that such paragraph shall be applied by substituting $608,162,000 for $818,162,000 ) in title II of such