; and (2) by adding at the end the following: (2) Puerto Rico and Virgin Islands For each of fiscal years 2018 through 2022, payments made under subsection (b) shall be 100 percent of the total cost of the emergency measures carried out by an owner of nonindustrial private forest land in the Commonwealth of Puerto Rico or the United States Virgin Islands. . 414. Treatment of certain producers as limited resource producers Title IV of the Agricultural Credit Act of 1978 ( 16 U.S.C. 2201 et seq.) is amended by adding at the end the following: 408. Treatment of certain producers as limited resource producers In carrying out sections 401 and 402, the Secretary shall consider an agricultural producer operating in the Commonwealth of Puerto Rico, the United States Virgin Islands, or both to be a limited resource producer, as determined by the Secretary. . 415. Retroactive availability of catastrophic level of protection under noninsured crop assistance program Section 196 of the Federal Agriculture Improvement and Reform Act of 1996 ( 7 U.S.C. 7333 ) is amended by adding at the end the following: (m) Retroactive availability for certain producers (1) In general Beginning on the date of enactment of this subsection, the Secretary shall retroactively make available to producers in disaster counties (as defined in subsection (i)(1)) in the Commonwealth of Puerto Rico and the United States Virgin Islands the catastrophic level of protection under this section for the 2017 crop year. (2) Application A producer desiring assistance under paragraph (1) shall submit to the Secretary an application for the assistance not later than 180 days after the date of enactment of this subsection. . 416. Distribution of funds made available for equipment assistance grants under the National School Lunch Act to Puerto Rico and the Virgin Islands The matter under the heading Child nutrition programs of title IV of division A of the Consolidated Appropriations Act, 2017 ( Public Law 115–31 ), is amended by inserting before the period at the