provided that any plan amendment shall be subject to the approval of the Secretary. The Secretary shall approve any plan amendment or disapprove such amendment explain why the plan amendment could not be approved within 45 days after submission to the Secretary of such amendment. (F) Technical assistance The Secretary shall provide technical assistance for any State housing finance agency that twice fails to have a submitted plan approved. (4) Plan Templates The Secretary shall, not later than 30 days after the date of the enactment of this Act, publish templates that States may utilize in drafting the plans required under paragraph (3)(A). The template plans shall include standard program terms and requirements, as well as any required legal language, which State housing finance agencies may modify with the consent of the Secretary. (e) Permissible uses of fund (1) In general Funds made available to State housing finance agencies pursuant to this section may be used for the purposes established under subsection (b), which may include— (A) mortgage payment assistance, including financial assistance to allow a borrower to reinstate their mortgage or to achieve a more affordable mortgage payment, which may include principal reduction or rate reduction, provided that any mortgage payment assistance is tailored to a borrower’s needs and their ability to repay, and takes into consideration the loss mitigation options available to the borrower