Added flag for verbose mode and custom file extensions