modified to allow for image, model, and sound
changed image to media
changed from image to media