add media and static directory