add in image directory removal