csv main is now compatible with numpy implementation and has new option for
line generation