; and (B) by inserting after and Indian tribes after States ; (2) by striking subsection (b); (3) by redesignating subsections (c) through (e) as subsections (b) through (d), respectively; (4) by redesignating subsection (f) as subsection (j); (5) in subsection (b), as so redesignated— (A) in paragraph (1)— (i) in the paragraph heading, by inserting and Indian tribe after State ; (ii) by striking States for the purpose of addressing the opioid abuse crisis within such States and inserting States and Indian tribes for the purpose of addressing the opioid abuse crisis within such States and Indian tribes ; (iii) by inserting or Indian tribes after preference to States ; and (iv) by inserting before the period of the second sentence or other Indian tribes, as applicable ; and (B) in paragraph (2)— (i) in the matter preceding subparagraph (A), by striking to a State ; (ii) in subparagraph (A), by striking State ; (iii) in subparagraph (C), by inserting preventing diversion of controlled substances, after treatment programs, ; and (iv) in subparagraph (E), by striking as the State determines appropriate, related to addressing the opioid abuse crisis within the State and inserting as the State or Indian tribe determines appropriate, related to addressing the opioid abuse crisis within the State, including directing resources in accordance with local needs related to substance use disorders ; (6) in subsection (c), as so redesignated, by striking subsection (c) and inserting subsection (b) ; (7) in subsection (d), as so redesignated— (A) in the matter preceding paragraph (1), by striking the authorization of appropriations under subsection (b) and inserting subsection (h) ; and (B) in paragraph (1), by striking subsection (c) and inserting subsection (b)