; and (B) $25,000,000 for grants, in accordance with paragraph (2), for the adaptation of waste disposal facilities to incorporate anaerobic digestion food waste-to-energy operations. (2) Requirements (A) In general A loan or grant is made in accordance with this paragraph if, before making the loan or grant, the Secretary has obtained from the recipient of the loan or grant— (i) a written commitment that the recipient has read and agrees to comply with the Food Recovery Hierarchy of the Environmental Protection Agency, particularly as applied to apparently wholesome food (as defined in section 22(b) of the Child Nutrition Act of 1966 ( 42 U.S.C. 1791(b) ) that may be provided to or received by the recipient