A hack/modification of Multiexporter.jsx