adds changes to csv reading and some style changes