; (iv) entering into a contract under subsection (e); or (v) carrying out any other duties of the eligible entity under this section. (B) Amount (i) In general Except as provided in clause (ii), the amount of a grant provided to an eligible entity under this paragraph shall be equal to not more than 5 percent of the amount of the loan provided to the eligible entity under this subsection. (ii) Persistent poverty counties The amount of a grant provided under this paragraph to an eligible entity that will use the grant to make loans under subsection (d) to qualified consumers located in a persistent poverty county (as determined by the Secretary) shall be equal to 10 percent of the amount of the loan provided to the eligible entity under this subsection. ; (3) in subsection (d)— (A) in paragraph (1)— (i) in the matter preceding subparagraph (A), by inserting or grant before funds ; (ii) in subparagraph (B)— (I) by striking (B) shall finance and inserting the following: (B)(i) may have a term and amortization schedule the length of which is the useful life of the energy efficiency measures implemented using the loan, provided that the loan to the qualified consumer does not exceed 20 years; and (ii) shall finance ; and (II) in clause (ii) (as so designated), by striking a loan term of not more than 10 years and inserting the applicable loan term described in clause (i) ; and (iii) in subparagraph (C), by striking unless the personal property is or becomes attached to real property (including a manufactured home) as a fixture; and inserting unless the personal property— (i) is a manufactured housing unit or large appliance described in subsection (b)(2)(B); or (ii) is or becomes attached to real property as a fixture;