Getting the to CSV workign