updated with image directory