Added changes from production, new txt export and character encoding.