changes the images directory