adding ability to use external images