changed importCSVs to figure out pulse and varlab instead of passing parameters