add mimetype support