Chad's dbutil and cat updates

stuff i did to make thingies work