Section 127B1/2. At any time prior to or during the course of proceedings conducted pursuant to section one hundred and twenty-seven B, resulting solely from contaminated media caused by a release of home heating oil or from the detection of dangerous lead paint levels, as determined under the authority of section one hundred and ninety-four, or in the event the state environmental code pursuant to section thirteen of chapter twenty-one A requires the repair, replacement or upgrade of a septic system the owner of a structure used for human habitation may petition the board of health in a city or town to make findings consistent with its authority under this chapter and may enter into an agreement, subject to appropriation, authorizing such board of health or such owner to cause the premises to be properly serviced by a septic system, removal of a residential underground fuel storage tank, removal of contaminated media caused by a release of home heating oil or to have removed any dangerous levels of lead paint, as determined under the authority of section one hundred and ninety-four, at the owners expense. An owner who enters into such an agreement shall be responsible for all expenses incurred by the board of health, directly or indirectly, or required by the board of health and incurred by the owner for such repairs, replacement, or upgrade of a septic system, removal of a residential underground fuel storage tank, removal of contaminated media caused by a release of home heating oil or removal of dangerous levels of lead paint. A notice of such agreement shall be recorded as a betterment and be subject to the provisions of chapter eighty relative to the apportionment, division, reassessment and collection of assessment, abatement and collections of assessments, and to interest; provided, however, that for purposes of this section, such lien shall take effect by operation of law on the day immediately following the due date of such assessment or apportioned part of such assessment and such assessment may bear interest at a rate determined by the city or town treasurer by agreement with the owner at the time such agreement is entered into between the board of health and the property owner. In addition to remedies available under chapter eighty, the property owner shall be personally liable for the repayment of the total costs incurred by the city or town under this section; provided, however, that upon assumption of such personal obligation to a purchaser or other transferee of all of the original owners interest in the property at the time of conveyance and the recording of such assumption, the owner shall be relieved of such personal liability.