- mofification of getconfig script to follow new structure
- some bugfixes