added --output and --verbose