simple script to export anaphora, see #26