Python Macro in LibreOffice

Hi,

I’ve installed my first Flatpak, LibreOffice. I have a python macro that I wrote and to make it visible in LibreOffice I just place it in /usr/lib/libreoffice/share/Scripts/python. On a fresh system with the Flatpak installed, that directory doesn’t exist. How do I place my macro inside a directory that I’m guessing lives inside the Flatpak “container”?

Thank for the help,

John

I think I got it to work by finding the corresponding directory in:
/var/lib/flatpak/app/org.libreoffice.LibreOffice/x86/64/stable/a_big_string/files/libreoffice/share/Scripts/python

Maybe that will help someone. And is this a “best practice” or should I be staying out of there?