changed the save to disk for images