download and replace images