use wget if curl is not installed
minor