Added --dry-run flag

In response to issue #191.