; and (C) in accordance with the requirements and procedures established by the Secretary of State under this subsection. (6) Number of referrals and grants of admission for refugees The admission to the United States of refugees under this subsection shall be subject to the limitations, including the numerical limitations, under this section. (7) Application fees (A) In general The Secretary of State and the Secretary of Homeland Security shall charge, collect, and account for fees prescribed by each such Secretary pursuant to subsections (m) and (n) of section 286 and section 9701 of title 31, United States Code, for the purpose of receiving, docketing, processing, and adjudicating an application under this subsection. (B) Basis for fees The fees prescribed under subparagraph (A) shall be based on a consideration of the amount necessary to deter frivolous applications and the cost for processing the application, including the implementation of program integrity and anti-fraud measures. . (c) Sunset The amendments made by this section shall cease to be effective beginning on the date that is three years and 240 days after the date of the enactment of this Act. IV Repurposing Federal Drug Programs 401. Reauthorization of block grants for prevention and treatment of substance abuse Section 1935(a) of the Public Health Service Act ( 42 U.S.C. 300x–35(a) ) is amended by striking $1,908,079,000 for each of fiscal years 2023 through 2027 and inserting $3,961,600,000 for each of fiscal years 2023 through 2027 . 402. Offsetting repeals (a) Substance abuse treatment programs of regional and national significance Section 509 of the Public Health Service Act ( 42 U.S.C. 290bb–2 ) is hereby repealed. (b) Drug-Free Communities Support Program Chapter 2 of subtitle A of title I of the National Narcotics Leadership Act of 1988 ( 21 U.S.C. 1521 et seq. ) is hereby repealed. (c) Community mental health services block grant Subpart I of part B of title XIX of the Public Health Service Act ( 42 U.S.C. 300x et seq. ) is hereby