The script is a safe replacement tool for an existing XFMG media item’s underlying image file. It is designed so you can swap in a better scan, cleaned version, or de-watermarked image without creating a new media item, which means the same media ID, same URL, and existing comments stay intact...