modified the runit implementation