Move md5 check outside download check - fixed twice missing close quote