diff --git a/Hack/Frontend/MonadCGI.hs b/Hack/Frontend/MonadCGI.hs
--- a/Hack/Frontend/MonadCGI.hs
+++ b/Hack/Frontend/MonadCGI.hs
@@ -19,13 +19,12 @@
 
 cgiToApp :: CGI CGIResult -> Application
 cgiToApp cgi env = do
-    let vars = http env
+    let vars = map (first fixVarName) (http env)++ getCgiVars env
         input = hackInput env
         (inputs, body') = decodeInput vars input
         req = CGIRequest
-                { cgiVars = Map.fromList $ map (first fixVarName) vars
-                                        ++ getCgiVars env
-                , cgiInputs = inputs
+                { cgiVars = Map.fromList $ vars
+               	, cgiInputs = inputs
                 , cgiRequestBody = body'
                 }
     (headers'', output') <- runCGIT cgi req
diff --git a/hack-frontend-monadcgi.cabal b/hack-frontend-monadcgi.cabal
--- a/hack-frontend-monadcgi.cabal
+++ b/hack-frontend-monadcgi.cabal
@@ -1,5 +1,5 @@
 name:            hack-frontend-monadcgi
-version:         0.0.1
+version:         0.0.2
 license:         BSD3
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>
