Added stuff for getting images