Or moved inside the if (!dryrun) test