; or (2) aviation safety testing. (c) Waiver The Secretary (or the Secretary's designee) may waive any restrictions under subsection (a) on a case by case basis by certifying, in writing, not later than 15 days after exercising such waiver, to the appropriate committees of Congress that the operation, procurement, or contracting action is required in the national interest of the United States. (d) Replacement of certain unmanned aircraft systems (1) In general Not later than 1 year after the date of enactment of this section, the Secretary shall replace any unmanned aircraft system that was manufactured or assembled by a covered foreign entity and that is owned or operated by the Department of Transportation as of the date of enactment of this section with an unmanned aircraft system manufactured in the United States or an allied country (as that term is defined in section 2350f(d)(1) of title 10, United States Code). (2) Funding There is authorized to be appropriated to the Secretary $5,000,000 to carry out this subsection. (e) Definitions In this Section: (1) Covered foreign entity The term covered foreign entity means an entity that is— (A) included on the Consolidated Screening List or Entity List as designated by the Secretary of Commerce; (B) doing business as Da Jiang Innovations (also known as DJI ) or any successor company; (C) domiciled in the People’s Republic of China or the Russian Federation; (D) subject to influence or control by the government of the People’s Republic of China or the Russian Federation; or (E) is a subsidiary or affiliate of an entity described in any of subparagraphs (A) through (D). (2) Small unmanned aircraft