Committing before making changes to TextOutput