(4)On the estimated cost being deposited or recovered as aforesaid, the officer shall get the works executed as soon as may be by such persons and in such manner as he may direct and meet the cost of such works from the amount deposited or recovered as aforesaid.