Export and create media files and references