Added configuration about media directory