changing from curl to Wget