; (2) in subsection (d)(2), by amending subparagraph (B) to read as follows: (B) Funds retained To ensure transparency and avoid duplication, a State shall provide each relevant high-risk urban area with a detailed accounting of the items, services, or activities on which any funds retained by the State under subparagraph (A) are to be expended. Such accounting shall be provided not later than 90 days after the date of which such funds are retained. ; and (3) by striking subsection (e) and inserting the following new subsections: (e) Threat and hazard identification risk assessment and capability assessment As a condition of receiving a grant under this section, each high-risk urban area shall submit to the Administrator a threat and hazard identification and risk assessment and capability assessment— (1) at such time and in such form as is required by the Administrator; and (2) consistent with the Federal Emergency Management Agency’s Comprehensive Preparedness Guide 201, Second Edition, or such successor document or guidance as is issued by the Administrator. (f) Period of performance The Administrator shall make funds provided under this section available for use by a recipient of a grant for a period of not less than 36 months. (g) Authorization of appropriations There is authorized to be appropriated for grants under this section $800,000,000 for each of fiscal years 2018 through 2022. . 102. State Homeland Security Grant Program Section 2004 of the Homeland Security Act of 2002 ( 6 U.S.C. 605 ) is amended by striking subsection (f) and inserting the following new subsections: (f) Threat and hazard identification and risk assessment and capability assessment (1) In general As a condition of receiving a grant under this section, each State shall submit to the Administrator a threat and hazard identification and risk assessment and capability assessment— (A) at such time and in such form as is required by the Administrator