fixed broken download script