Fixed: Config read before functions