Configs big refactor [not work!]