move media and static to data