add dry-run option (ref #4)