Fix script downloading