Add dryrun mode; don't use string formatting in logging calls.