modified temp save location of images 2