improvements to image import is only run once