add a init script

fixes #22