Add script to generate csv report for a given problem id