##### 



Exhibit 10.24
 AMENDED AND RESTATED THIRD SUPPLEMENT  TO THE AMENDED AND RESTATED MASTER LOAN AGREEMENT  (REVOLVING LINE OF CREDIT LOAN)
 THIS AMENDED AND RESTATED THIRD SUPPLEMENT TO THE AMENDED AND RESTATED MASTER LOAN AGREEMENT Third Supplement F & M BANK-IOWA, Lender CENTRAL IOWA ENERGY, LLC, Borrower MLA
  1. Definitions .
 Accounts
 Availability Date
 Borrowing Base
 Borrowing Base Certificate
 Eligible Accounts Receivable




---



##### 








---



##### 



Eligible Inventory
 (a)
    
    Covered by documents of title, instruments, or chattel paper
when these documents, instruments and paper are not owned and held by the
Borrower or are subject to competing claims, liens or encumbrances.(b)
    
    Intended to be sold outside of the ordinary course of business.(c)
    
    Consigned, sold or leased to others or on consignment or
lease from others or subject to a bailment.(d)
    
    Subject to a competing claim, lien or encumbrance.(e)
    
    Paid for in advance with progress payments or any other sums to
the Borrower in anticipation of the sale and delivery of inventory.(f)
    
    Obsolete or unusable in the ordinary course of business.(g)
    
    Inventory of work in progress.(h)
    
    Inventory that the Lender, in its reasonable discretion,
disqualifies as Eligible Inventory.
 Incentive Payments
 Maximum Rate
 Monthly Payment Date st
 Outstanding Credit
 Outstanding Revolving Advance
 Request for Advance
 Revolving Advance
 Revolving Letters of Credit




---



##### 



Revolving Letter of Credit Liabilities
 Revolving Line of Credit Loan
 Revolving Line of Credit Commitment
 Revolving Line of Credit Loan Maturity Date
 Revolving Line of Credit Loan Termination Date
 Unused Commitment Fee
 2. Revolving Line of Credit Commitment Revolving Line of Credit Loan Revolving Line of Credit Termination Date Revolving Line of Credit Commitment provided,
however, Revolving Line of Credit Loan Maturity Date
 3. Purpose .
 4. Repayment of the Revolving Line of Credit Loan . st st




---



##### 



5. Availability . Availability Date
 6. Making the Advances.
 Revolving Advances Request for Advance
 Requests for Advances Irrevocable
 Minimum Amounts
 Unused Commitment Fee st
 Conditions Precedent to All Advances




---



##### 



Completion of Project
 Repayment of Construction Loan
 Representations and Warranties
 No Defaults
 Government Action
 Marketing Agreements
 Intercreditor Agreement
 7. Letters of Credit
 Commitment to Issue Revolving Letters of Credit provided, however




---



##### 



8. Interest Rate Maximum Rate
 9. Default Interest
 10. Late Charge
 11. Changes in Law Rendering Certain LIBOR Rate Loans Unlawful




---



##### 



12. Maximum Amount Limitation
 13. Mandatory Prepayments or Collateralization




---



##### 



14. Reporting Requirements .
 15. Security .
 IN WITNESS WHEREOF,
 CENTRAL IOWA ENERGY, LLC
an Iowa limited liability companyBy:
    
    /s/ James JohnstonName:
    
    James JohnstonTitle:
    
    ChairmanF & M BANK-IOWA,a bank chartered under the laws of IowaBy:
    
    /s/ Daniel J. HassmanName:
    
    Daniel J. HassmanIts:
    
    President




---



##### 



EXHIBIT A  BORROWING BASE CERTIFICATE  Detailed Calculation
 
 1
    
    Accounts Receivable:(biodiesel)
    
    $(glycerin)
    
    $IRS Biodiesel Tax Credit Receivables
    
    $Other
    
    $Other
    
    $Total
    
    $Deduct Ineligible Accounts
    
    $(30 days or more from invoice date)(60 days or more from filing date for Internal
Revenue Service biodiesel tax credit
receivables)Deduct Ineligible Accounts
    
    $(as determined by Bank)Eligible Accounts Receivable
    
    $Multiply by Borrowing Base Factor
    
    
    75.00
    %Accounts Receivable Loan Availability
    
    
    
    
    
    $2
    
    Glycerin (current value)Ending soybean oil Inventory
    
    $Ending
Glycerin & other bi-products Inventory
    
    $Total InventoryMultiply by Borrowing Base Factor
    
    
    50.00
    %Inventory Loan Availability
    
    
    
    
    
    $3
    
    Biodiesel Inventories (lower of cost or market)Ending Biodiesel Inventory
    
    $Ending  Inventory
    
    $Other InventoryTotal Inventory
    
    $Multiply by Borrowing Base Factor
    
    
    50.00
    %Inventory Loan Availability
    
    $4
    
    Total Borrowing Base (Totals from #1, #2, & #3)
    
    
    
    
    
    $5
    
    Outstanding Loan Balance (as of month end)
    
    $6
    
    Margin (Line 4 minus Line 5)
    
    
    
    
    
    $