Set up mime types and bug fixes