Export method rewritten, possibility to define languages to export