; (F) addressing other opportunities to improve public health and quality of life, as determined by the Secretary; and (G) reducing greenhouse gas emissions. ; and (2) by adding at the end the following: (6) To avoid, to the maximum extent practicable, the need for statutory and regulatory programs related to the conservation of natural resources by assisting producers in protecting soil, water, air, and related natural resources and in meeting environmental quality criteria established by Federal, State, tribal, and local governmental agencies. . (b) Definitions Section 1271A of the Food Security Act of 1985 ( 16 U.S.C. 3871a ) is amended by striking paragraph (2) and inserting the following: (2) Eligible activity The term eligible activity means water quality restoration or enhancement projects relating to the quality of surface water and groundwater used to supply drinking water by community water systems and domestic wells, including projects that— (A) improve the management of crops and livestock production systems to avoid or control runoff and leaching of farm chemicals and manure; (B) change (including through diversifying) the agricultural practices, including crop rotations; and (C) trap or capture pollutants before the pollutants enter surface water or ground water. ; and (c) Program agreements Section 1271B of the Food Security Act of 1985 ( 16 U.S.C. 3871b ) is amended— (1) in subsection (b)(1)(A), by striking 5 and inserting 15 ; (2) in subsection (b)(1)(B), by striking 5 and inserting 10 ; and (3) in subsection (c)(1)— (A) by redesignating subparagraphs (A) through (F) as subparagraphs (B) through (G); (B) by inserting before subparagraph (B) (as so redesignated) the following new subparagraph: (A) complete natural resource and watershed assessments to effectively support planning and implementation of the proposed project that is the subject of the agreement;