set-up csv output