Edits to text and output to plaintext