Do not hard code media directory