; (ii) forgive the principal or interest, or modify any term or condition of a new or existing loan made pursuant to paragraph (1); (iii) refinance all or part of any other loan made for an eligible purpose under paragraph (1) of this subsection or section 306C; or (iv) waive any fee required to insure or guarantee a loan pursuant to paragraph (1) or (24). (B) To promote the long-term sustainability and financial viability of eligible entities, the Secretary shall— (i) provide assistance to an eligible entity for the purpose of— (I) ensuring the entity has necessary resources to maintain public health, safety, or order; (II) addressing financial hardships of the eligible entity, its customers, and the community it serves; and (III) identifying the financial stability of the eligible entity, including— (aa) operational practices; (bb) revenue enhancements; (cc) policy revisions; (dd) partnerships, regionalization, or consolidation of water systems; and (ee) contract services; (ii) require an applicant to— (I) receive financial planning assistance; and (II) prepare a long-term financial plan. (C) An entity shall be eligible for assistance under this paragraph if the entity— (i) is a rural water, wastewater, or wastewater disposal system with respect to which assistance may be provided under a water or wastewater, or waste disposal program under this subsection or section 306A, 306C, or 306D, and (ii) is— (I) located in a socially disadvantaged community, a persistent poverty county, colonia, or distressed tribal area, as determined by the Secretary