All costs and expenses incurred by the town in connection with the proceedings to remove or secure such building or buildings, including the actual cost of repairing or removal, shall be assessed upon the land upon which said building or buildings are located. Such assessment shall be assessed on the next town assessment roll as an additional tax to the regular tax assessment against such property and the same shall be levied and collected in the same manner as the regular town tax. In the alternative, the Town Board may commence a special proceeding in a court of competent jurisdiction to collect the costs of demolition, including reasonable and necessary legal expenses incidental to obtaining an order to demolish, from the owner of any building or structure that may now be or shall hereafter become dangerous or unsafe to the public. The provisions of Article 4 of the Civil Practice Law and Rules shall govern any special proceeding commenced under this section.