; measurement An addition, conveyance, and use of water pursuant to subparagraph (A) shall be subject to the requirements that— (i) the applicable entity shall secure all permits required under State or local laws; and (ii) all water delivered into, or taken out of, a Klamath Project facility pursuant to that subparagraph shall be measured. (C) Effect A use of non-Klamath Project water under this paragraph shall not— (i) adversely affect the delivery of water to any water user or land served by the Klamath Project; or (ii) result in any additional cost to the United States. (3) Replacement of c canal flume The replacement of the C Canal flume within the Klamath Project shall be considered to be, and shall receive the treatment authorized for, qualified emergency extraordinary operation and maintenance work in accordance with Federal reclamation law (the Act of June 17, 1902 (32 Stat. 388, chapter 1093), and Acts supplemental to and amendatory of that Act ( 43 U.S.C. 371 et seq.)). Accordingly, upon request from Klamath Irrigation District, the Secretary of the Interior shall, within 180 days of such request, enter into a contract with Klamath Irrigation District, amendatory of contract No. 16–WC–20–4838, providing that 35 percent of the total Repayment Obligation is non-reimbursable and the remaining 65 percent of the total Repayment Obligation shall be repaid over a period of 50 years. Although the Secretary of the Interior shall not condition its agreement to the amendatory contract upon any other term, the amendatory contract may include, but is not required to include, other terms that are no less favorable to the contractor than 16–WC–20–4838. (c) Administration (1) Compliance In implementing this section and the amendments made by this section, the Secretary shall comply with— (A) the National Environmental Policy Act of 1969 ( 42 U.S.C. 4321 et seq.); (B) the Endangered Species Act of 1973 ( 16 U.S.C. 1531 et seq.)