Start of project

Again I think we could potentially move the CSV writing outside this loop.