Updated dump_prehash, namecleaner and prehash