trying to remove old way for config