; and (2) a grant agreement entered into under subsection (g). (g) Grant agreement A grant under this section shall be made only pursuant to a grant agreement entered into by the Secretary and the organization or consortia receiving the grant, which shall— (1) require such organization or consortia to use grant amounts only as provided in this section; (2) require the organization or consortia to use the grant amounts in a manner that leverages other sources of funding other than grants under this section, including private or public funds, in rehabilitating dwellings; (3) provide that the Secretary shall recapture any grant amounts provided to the organization or consortia that are not used within 24 months after such amounts are first disbursed to the organization or consortia; and (4) contain such other terms as the Secretary may require to provide for compliance with subsection (b) and the requirements of this section. (h) Fulfillment of grant agreement If the Secretary determines that an organization or consortia awarded a grant under this section has not, within 24 months after grant amounts are first made available to the organization or consortia, substantially fulfilled the obligations under the grant agreement, the Secretary shall use any such undisbursed amounts remaining from such grants for other grants in accordance with this section. (i) Records and audits During the period beginning upon the making of a grant under this section and ending upon close-out of the grant under subsection (j)— (1) the organization awarded the grant shall keep such records and adopt such administrative practices as the Secretary may require to ensure compliance with the provisions of this section and the grant agreement