Adding a minor change to generate csv