Updates output instructions to prepend the EOF with a newline