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 
.
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?