import_resources now imports images, but still fails on some cases