Fix way of handling config thingy