Added media directory and URL to config