made executable
write CSV as needed for book keeping