Reimplemented name export in csv