Changed configuration loading to use T5