added sites back and switched sha1 to use hashlib