The proceeds of any sale of bonds or notes shall be used only for the purposes specified in the authorization of the loan; provided, however, that such proceeds may also be used for costs of preparing, issuing and marketing the bonds or notes, except as otherwise authorized by this section. If a balance remains after the completion of the project for which the loan was authorized, the balance may at any time be appropriated by a city, town or district for any purposes for which a loan may be incurred for an equal or longer period of time than that for which the original loan, including temporary debt, was issued. Any balance not in excess of $50,000 may be applied, with the approval of the chief executive officer, for the payment of indebtedness. If a loan has been issued for a specified purpose but the project for which the loan was authorized has not been completed and no liability remains outstanding and unpaid on account thereof, a city, by a two-thirds vote of all of the members of the city council, or a town or district, by a two-thirds vote of the voters present and voting thereon at an annual town or district meeting, may vote to abandon or discontinue the project and the unexpended proceeds of the loan may be appropriated for any purpose for which a loan may be authorized for an equal or longer period of time than that for which the original loan, including temporary debt, was issued. Any premium received upon the sale of notes, less the cost of preparing, issuing and marketing the notes, and any accrued interest received upon the delivery of the notes, shall be applied to the first payment of interest on the note. Any premium received upon the sale of bonds, less the cost of preparing, issuing and marketing the bonds, and any accrued interest received upon the delivery of bonds shall be:
Mass. Gen. Laws ch. 44, § 20