Consolidated functionality into mtgassistant_export.py