; and (2) in subsection (b)— (A) by striking Rule and all that follows through agency and inserting the following: Rule .— (1) In General A local educational agency ; and (B) by adding at the end the following: (2) Exception The limitation described in paragraph (1) shall not apply to technology infrastructure that is also a school safety infrastructure improvement. . (h) Project SERV Section 4631(b)(4) of the Elementary and Secondary Education Act of 1965 ( 20 U.S.C. 7281(b)(4) ) is amended by striking the period at the end and inserting , except where the primary purpose of the construction, renovation, or repair is to restore the learning environment or improve or enhance school safety. . (i) Technical amendments to the table of contents The table of contents in section 2 of the Elementary and Secondary Education Act is amended by striking the items relating to sections 4109, 4110, 4111, and 4112 and inserting the following: Sec. 4109. Activities to support school safety and prevent violence against students or school personnel. Sec. 4110. Activities to support the effective use of technology. Sec. 4111. Supplement, not supplant. Sec. 4112. Rule of construction. Sec. 4113. Authorization of appropriations. . 102. Violence prevention and mental health support (a) State uses of funds Section 2101(c)(4)(B) of the Elementary and Secondary Education Act of 1965 ( 20 U.S.C. 6611(c)(4)(B) ) is amended— (1) by redesignating clause (xxi) as clause (xxiv)