support for specifying a root in the config file rather than log & pid files and allow script to be a block