dump by md5 or name, fix cli searching, database fixes