changed the command to use curl instead of wget

some hosts don't include wget by default and this is a nuisance to have to install before running the script.