Changed gi() to use wget instead of curl.