change directory of images