Markdown images: file location

I usually start writing md note in Global Inbox before moving to respective DB. So, that makes the md file at the root of the DB. As such, the image that I paste in the md file is not an x-devonthink-item link. It is a image a relative file path ![MyImage](MyMDImages/E1BBCFE7-02A4-4243-B5D1-4E1C7906D72C_1_105_c.jpeg).

In fact, I use tags mostly. So, most of my files are at the root of the DB.

This make the script fails to move the image when I move the md file.

@gg378 any way to overcome this problem?