updated the plant.config() method