prepare export