replace csv reader; add -p to print input