changed usage of models config