Revert "Removed the need for wget by using curl instead"

This reverts commit bd3f98378bb9805b40b8830e1fe8f013b8443347.