; and (II) by striking and at the end; (ii) by redesignating paragraph (15) as paragraph (16); and (iii) by inserting after paragraph (14) the following: (15) to improve the safety and security of State and local courts; and ; and (B) by adding at the end the following: (g) Magnetometers In the case of a grant awarded under this section to be used as described in subsection (c)(15), if the State or local court applying for the grant does not have magnetometers available for use, not less than $300 nor more than $1,000 of the matching fund required under subsection (d) of the State or local court shall be used to acquire a magnetometer. . 4. Security equipment (a) In general Subchapter III of chapter 5 of title 40, United States Code, is amended by adding after section 559 the following: 560. Surplus security equipment for State and local courts (a) Definitions In this section— (1) the term surplus security equipment means surplus property that is used to detect weapons, including metal detectors, wands, and baggage screening devices