service support

to run it as a startup service