; and (ii) by striking including the placement and use of metal detectors and other deterrent measures and inserting through evidence-based training and technical assistance to prevent violence and through the use of appropriate technologies, including the placement and use of metal detectors and other deterrent measures and emergency notification and response technologies ; (B) in subsection (b)— (i) by redesignating paragraphs (5) and (6) as paragraphs (10) and (11), respectively; (ii) by redesignating paragraphs (1) through (4) as paragraphs (2) through (5), respectively, and by inserting before paragraph (2) the following: (1) Assignment of additional school resource officers (as such term is defined in part Q), with priority in making such assignments given to law enforcement officers who are veterans (as such term is defined in section 101(2) of title 38, United States Code) or retired law enforcement officers who have returned to service. ; (iii) in paragraph (5), as so redesignated— (I) by striking crisis and inserting school threat assessment and ; and (II) by inserting and school personnel, after law enforcement agencies ; and (iv) by inserting after paragraph (5), as so redesignated, the following: (6) Training to prevent student violence against others and self, including training for local law enforcement officers, school personnel, and students. (7) The development and operation of anonymous reporting systems for threats of school violence, including mobile telephone applications, hotlines, and internet websites. (8) Subgrants to State or local law enforcement agencies, schools, school districts, nonprofit organizations, or Indian tribal organizations to implement grants awarded under this section. (9) Acquisition and installation of technology for expedited notification of local law enforcement during an emergency. ; (C) in subsection (c)— (i) by striking and has and inserting has