Fixed export cut off, removed final newline