Changed method for config