corrected download hooks