Fix usage of new config loader