Set Referenced Image

To set correct UIDs it is important to select not modified referenced image, e.g. for new study first export and open reference image.