bug fixes and added medtox to config.yaml