Added hash check functionality and warnings