fixed download script