set md5 call appropriately