added mime_detect to config