removing unused code, updating doc in config file