added directories for images and media