media, sql directories