Changed 'dry-run' option to a flag.