Working download script.