A unit of local government may use funds designated for operating or capital expenditures for any guaranteed energy savings contract, including purchases using installment payment contracts or lease purchase agreements. A unit of local government that enters into such a contract or agreement may covenant in the contract or agreement that payments made under the contract shall be payable from the first funds legally available in each fiscal year.
50 ILCS 515/40