Corrected to work with current runit changes

finish_script no longer seems to work properly.