Added support for running in an existing root directory and for empty sweeps.