Put config into model