more changes to accomodate CREP database and to clean up changes to the config file.