removed bearlib references, simplified parameters to only config file and added mixed content check