moved script fetch from curl to wget