Switched to curl to try and avoid wget errors