read configuration to prepare for config form