; and (5) by inserting after subsection (b) (as so redesignated) the following: (c) Cost limitations Except as provided in this section and subject to subsection (g), a non-Federal interest that contributes materials or services under subsection (a) shall be eligible for reimbursement, not to exceed an amount that is equal to the estimated Federal cost for the performance of those materials or services. (d) Agreement Before contributing materials or services under subsection (a), a non-Federal interest shall enter into an agreement with the Secretary that specifies, with respect to the use of those materials and services, the terms and conditions that are acceptable to the non-Federal interest and the Secretary. (e) Requirement As part of an agreement under subsection (a), a non-Federal interest shall hold and save the United States free from any and all damage that arises from the use of any materials or services of the non-Federal interest, except for damage due to the fault or negligence of a contractor of the Federal Government. (f) Use of emergency authorities The Secretary may use existing emergency authorities of the Secretary following a flood or storm event to accept materials, services, or funds under this section if those materials, services, or funds are being used for the purpose of— (1) restoring an authorized navigation or flood risk management project up to authorized dimensions; (2) repairing or reconstructing any authorized navigation or flood risk management project, including other authorized associated features; or (3) any other activities the Secretary determines to be in the public interest as a result of the emergency. (g) Limitations A reimbursement under subsection (c) shall be— (1) subject to the availability of appropriations