; and (C) in paragraph (4)— (i) in the matter preceding subparagraph (A), by inserting , agricultural processors, after agricultural producers ; (ii) in subparagraph (A), by striking and at the end; (iii) in subparagraph (B)(ii), by striking the period at the end and inserting ; and ; and (iv) by adding at the end the following: (C) assisting in the development of feasibility studies and plans for implementing recommendations provided under subparagraph (B). ; (3) in subsection (c)— (A) in paragraph (1)(A)(i), by inserting , agricultural processors, after agricultural producers ; (B) in paragraph (2)— (i) by redesignating subparagraphs (F) and (G) as subparagraphs (G) and (H), respectively; and (ii) by inserting after subparagraph (E) the following: (F) carbon accounting assessments developed under subsection (d) with respect to the renewable energy system to be installed or the energy efficiency upgrade to be undertaken; ; (C) in paragraph (3)— (i) in subparagraph (A), by striking The amount and all that follows through 25 percent and inserting Except as provided in subparagraph (F), the amount of a grant under this subsection shall not exceed 50 percent ; (ii) by redesignating subparagraphs (C) and (D) as subparagraphs (D) and (E), respectively; (iii) by inserting after subparagraph (B) the following: (C) Maximum percentage of loan guarantee The portion of a loan that the Secretary may guarantee under this section shall be— (i) in the case of a loan in the amount of not less than $1,000,000, 80 percent of the principal amount of the loan; and (ii) in the case of a loan in an amount less than $1,000,000, 90 percent of the principal amount of the loan. ; (iv) in subparagraph (E) (as so redesignated), by striking subsection (f) and inserting subsection (h)