updated config to support singlenode and cluster modes