added checkTotals to csv import