working on plaintext_export.sh