Added wget check to avoid issues downloading