even more sane way to handle configs