Adding missing end tags to config template