First working config handling