Add option to show progress. Output in csv