Create distmedia.m