read in configuration only once (possibly needs synchronization)