clean up and a move for the pathogen code to config file.