Icon hash check

Small alteration of #425