I forgot to escape the quotes in writeout