refactored image import to make abortion of imports possible