; or (ii) a public school receives a grant under this section in the same fiscal year. (B) Exception Notwithstanding paragraph (1), in the case that a grant recipient experiences an event in which an individual inflicts deadly harm or attempts to inflict deadly harm against multiple individuals, such grant recipient shall be eligible to receive an additional grant under this section in any fiscal year after the date on which the event occurred. (4) Matching funds (A) In general The Federal share of a grant received under this subsection may not exceed 50 percent of the hard security improvement costs. (B) Waiver The Attorney General may waive in whole or in part, the matching requirement under paragraph (1) in the case that the recipient has a financial need for such waiver. (5) Grant conditions A recipient of a grant under this section shall— (A) use the grant to make hard security improvements identified as necessary by the most recent independent facility security risk assessment; (B) in the case that a panic alarm is not installed or operable according to the independent facility risk assessment, use the grant for the installation of at least 1 panic alarm for use in a school security emergency, including a non-fire evacuation, lockdown, or active shooter situation, which alarm— (i) shall be directly linked to the local law enforcement agency that is closest in proximity to the grant recipient; (ii) shall immediately transmit a signal or message to such law enforcement agency upon activation; and (iii) shall not be audible within the public school building; (C) before entering into a contract with a vendor, obtain written confirmation from the law enforcement agency or entity that conducted the independent facility security risk assessment that the improvement will mitigate a vulnerability identified in the independent facility security risk assessment