Properly replace the -I curl option for the --server-response wget option.
diff --git a/install.sh b/install.sh
index d7c6261..53459f7 100755
--- a/install.sh
+++ b/install.sh
@@ -18,7 +18,7 @@
     # Emulate curl with wget
     ARGS=$(echo "$*" | sed -e 's/--progress-bar /--progress=bar /' \
                            -e 's/-L //' \
-                           -e 's/-I //' \
+                           -e 's/-I /--server-response /' \
                            -e 's/-s /-q /' \
                            -e 's/-o /-O /' \
                            -e 's/-C - /-c /')
diff --git a/nvm.sh b/nvm.sh
index fee0758..781f2b5 100644
--- a/nvm.sh
+++ b/nvm.sh
@@ -19,7 +19,7 @@
     # Emulate curl with wget
     ARGS=$(echo "$*" | sed -e 's/--progress-bar /--progress=bar /' \
                            -e 's/-L //' \
-                           -e 's/-I //' \
+                           -e 's/-I /--server-response /' \
                            -e 's/-s /-q /' \
                            -e 's/-o /-O /' \
                            -e 's/-C - /-c /')