add a directory checksum script (unfinished)