adding a bit more info when malformed CSVs are detected
improving script