Changed wiring of config through to routey.
Updated version.