; and (B) subject to section 313A(e)(2), the fees described in subsection (c)(4) of such section. (f) Maintenance of account The Secretary shall maintain the subaccount described in section 313(b)(2), as in effect in fiscal year 2017, for purposes of carrying out this section. . (d) Section 313A of the Rural Electrification Act of 1936 ( 7 U.S.C. 940c-1 ) is amended— (1) in subsection (c)(4)— (A) in subparagraph (A), by striking maintained under section 313(b)(2)(A) and inserting that shall be maintained as required by sections 313(b)(2) and 313B(f) ; and (B) in subparagraph (B), by striking 313(b)(2)(A) and inserting 313(b)(2) ; and (2) in subsection (e)(2), by striking maintained under section 313(b)(2)(A) and inserting required to be maintained by sections 313(b)(2) and 313B(f) . (e) (1) Subject to section 313B(e) of the Rural Electrification Act of 1936 (as added by this section), the Secretary of Agriculture shall carry out the loan and grant program required under such section in the same manner as the loan and grant program under section 313(b)(2) of such Act is carried out on the day before the date of the enactment of this Act, until such time as any regulations necessary to carry out the amendments made by this section are fully implemented. (2) Paragraph (1) shall take effect on the date of the enactment of this Act. E Farm Security and Rural Investment Act of 2002 6401. Rural energy savings program Section 6407 of the Farm Security and Rural Investment Act of 2002 ( 7 U.S.C. 8107a ) is amended— (1) in subsection (c)— (A) by redesignating paragraphs (4) through (7) as paragraphs (5) through (8), respectively; (B) by inserting after paragraph (3) the following: (4) Eligibility for other loans The Secretary shall not include any debt incurred under this section in the calculation of a borrower’s debt-equity ratio for purposes of eligibility for loans made pursuant to the Rural Electrification Act of 1936 ( 7 U.S.C. 901 et. seq.).