Added dryRun flag