Controlling the path of attached files on compile


is it possible to have attachements to a Scrivener file which are being referenced in a project end up in a specific sub-folder, rather than the root of the compile?

I have the compile output Latex via Multimarkdown and when I have image files or PDFs, which are referenced in the compile, they all end up in the same folder together with the .tex. Is there any way to have them end up e.g. in a sub-folder called images, or even several based on their file types?

I already have them sorted into such folders within the Scrivener project file, but that structure is not mirrored on export using compile.