; (2) by striking the period at the end of paragraph (7) and inserting ; and ; and (3) by adding at the end the following: (8) make grants to nonprofit organizations— (A) to provide technical assistance to rural, small, and tribal municipalities for the purpose of assisting, in consultation with the State in which the assistance is provided, such municipalities and tribal governments in the planning, developing, and acquisition of financing for eligible projects described in section 603(c); (B) to provide technical assistance and training for rural, small, and tribal publicly owned treatment works and decentralized wastewater treatment systems to enable such treatment works and systems to protect water quality and achieve and maintain compliance with the requirements of this Act; and (C) to disseminate information to rural, small, and tribal municipalities and municipalities that meet the affordability criteria established under section 603(i)(2) by the State in which the municipality is located with respect to planning, design, construction, and operation of publicly owned treatment works and decentralized wastewater treatment systems. . (b) Authorization of Appropriations Section 104(u) ( 33 U.S.C. 1254(u) ) is amended— (1) by striking and (6) and inserting (6) ; and (2) by inserting before the period at the end the following: ; and (7) not to exceed $100,000,000 for each of fiscal years 2018 through 2022 for carrying out subsections (b)(3), (b)(8), and (g), except that not less than 20 percent of the amounts appropriated pursuant to this paragraph in a fiscal year shall be used for carrying out subsection (b)(8) . 102. State management assistance (a) Authorization of appropriations Section 106(a) ( 33 U.S.C. 1256(a) ) is amended— (1) by striking and at the end of paragraph (1); (2) by striking the semicolon at the end of paragraph (2) and inserting ; and