Changed to generate CSV data when no type option exists.