; and (v) if a State offers at least 5 of the categories of intensive community-based services described in clauses (i) through (vii) of paragraph (2)(E) in a quarter, the applicable number of percentage points for the State and quarter is 25 percentage points. (4) Application of HCBS State plan amendment provisions Paragraphs (3), (4), (5), (6), and (7) of subsection (i) shall apply to State plan amendments under this subsection and intensive community-based services in the same manner as such paragraphs apply to State plan amendments under such subsection (i) and home and community-based services. (5) Funding for state planning grants (A) In general There is appropriated, out of any funds in the Treasury not otherwise appropriated, $20,000,000 to the Secretary for purposes of implementing, administering, and making planning grants to States as soon as practicable for purposes of developing a State plan amendment request to provide intensive community-based services under this subsection, to remain available until expended. (B) Use of funds A State shall use funds received under a grant under this subsection to engage in planning activities for a State plan amendment under this subsection, including— (i) collaborative activities, at the State and Federal level, with providers of housing-related services; (ii) developing service quality criteria; and (iii) developing the infrastructure necessary to implement the State plan amendment, including data infrastructure and staffing. . (b) Rule of construction Nothing in this Act or the amendments made by this Act may be construed to limit the entitlement of children and youth who are eligible for medical assistance under a State Medicaid program to receive intensive community-based services through the early and periodic screening, diagnostic, and treatment services benefit.