Added `dryRun` options for running without writing to file. Added `options.output` for getting output in `then` callback.