Removed debugging statements
Changed check sum to use sha1sum command