Check if dry_run flag is set as well.
Check if dry_run flag is set as well.