The reason it produces an error message for /hload is because you do not check if the file exists before you load it.
if ($isfile(query.hsh)) hload query query.hsh