Dear Luis, yes your export function seems useful. The easiest would be to make a plugin. This way you keep all the intellectual rights on your functions. We can help you make a plugin if you want. It is quite straightforward. Best regards, Arno