added sha1= to the hash comparison