Remove comments in config, add mimetype location