Updated to work with the new media web server