New entries now written to csv instead of txt