Fixing issue with custom images in config.xml files