Add manage script

With a bit more work this could form the basis of an init script for porick