Added -quiet switch to disable progress bar.