added configuration section detecting

added configuration section detecting.