Make hash config more flexible