added audio support and combined alternate media file function