altered the way options are passed to init_csv