changes paths to all images