; or (2) withdraw from the agreement as necessary to comply with such section 41104(13). II Other matters 201. Fishing safety grants Section 4502 of title 46, United States Code, is amended— (1) in subsections (i) and (j), by striking Secretary each place it appears and inserting Secretary of Commerce ; (2) in subsection (i)(3), by striking 75 and inserting 50 ; (3) in subsection (i)(4), by striking $3,000,000 for each of fiscal years 2015 through 2017 and inserting $3,000,000 for each of fiscal years 2018 through 2019 ; (4) in subsection (j)(3), by striking 75 and inserting 50 ; and (5) in subsection (j)(4), by striking $3,000,000 for each fiscal years 2015 through 2017 and inserting $3,000,000 for each of fiscal years 2018 through 2019 . 202. Assistance for small shipyards (a) In general Section 54101 of title 46, United States Code, is amended— (1) in the section heading, by striking and maritime communities ; (2) in subsection (a)(2), by striking in communities and all that follows through the period and inserting relating to shipbuilding, ship repair, and associated industries. ; (3) in subsection (b), by amending paragraph (1) to read as follows: (1) consider projects that foster— (A) efficiency, competitive operations, and quality ship construction, repair, and reconfiguration; and (B) employee skills and enhanced productivity related to shipbuilding, ship repair, and associated industries; and ; (4) in subsection (c)(1)— (A) by inserting to after may be used ; and (B) by striking subparagraphs (A), (B), and (C) and inserting the following: (A) make capital and related improvements in small shipyards; and (B) provide training for workers in shipbuilding, ship repair, and associated industries. ; (5) in subsection (d), by striking unless and all that follows before the period; (6) in subsection (e)— (A) by striking paragraph (2); (B) by redesignating paragraph (3) as paragraph (2); and (C) in paragraph (1) by striking Except as provided in paragraph (2),