finalized the export_to_equilibrator script