Fixes to routing in config template