Remove images and change the device image config paths