Added hooks to verify size and checksum on download