Changed md5 module to hashlib