Made segmentcsv command line parameter