 +            case 'svg':
 +                return $this->parseSizeForSvg();
          }
-
+ 
          return null;
 @@ -133,7 +135,13 @@ class ImageParser
                  case "MM":

diff --git a/src/FasterImage/FasterImage.php b/src/FasterImage/FasterImage.php
index c05c9d0..dd94cb8 100644
--- a/src/FasterImage/FasterImage.php
+++ b/src/FasterImage/FasterImage.php
@@ -122,9 +122,9 @@ class FasterImage
         curl_setopt($ch, CURLOPT_URL, $url);
         curl_setopt($ch, CURLOPT_HEADER, 0);
         curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

         curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
         curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $this->timeout);
         curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout);
 
         #  Some web servers require the useragent to be not a bot. So we are liars.
-        curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36');
+        curl_setopt($ch, CURLOPT_USERAGENT, $this->userAgent);
         curl_setopt($ch, CURLOPT_HTTPHEADER, [
             "Accept: image/webp,image/*,*/*;q=0.8",
             "Cache-Control: max-age=0",
diff --git a/src/FasterImage/ImageParser.php b/src/FasterImage/ImageParser.php
index 3b1dc3d..3e855dc 100644
--- a/src/FasterImage/ImageParser.php
