parseConfig must be synchronous