added directory for images and videos