Router changes to help with mime type