Re-write poll_media, add back 'download' script