use wget to download images instead of thread