diff --git a/Yesod/PureScript.hs b/Yesod/PureScript.hs
--- a/Yesod/PureScript.hs
+++ b/Yesod/PureScript.hs
@@ -31,6 +31,7 @@
 import Control.Exception (catch, SomeException)
 import Control.Monad (forever, forM, forM_)
 import Control.Monad.IO.Class (liftIO)
+import Control.Monad.Reader (runReaderT)
 import Data.Either (rights)
 import Data.Maybe (catMaybes, mapMaybe)
 import Data.Text (Text)
@@ -227,7 +228,7 @@
                             <tbody>
                                 $forall fnmods <- fnsmodules
                                     $with (fn, (time, modules)) <- fnmods
-                                        $forall (Module name _ _) <- modules
+                                        $forall (Module name _ _ _) <- modules
                                             <tr>
                                                 <td>#{show name}
                                                 <td>#{filePathToText fn}
@@ -447,7 +448,8 @@
         Left _err -> Left (T.pack _err)
         Right (_js, _, _) -> Right (T.pack _js)
     where
-        _result = P.compile _psOptions modules ["yesod-purescript"]
+        -- _result = P.compile _psOptions modules ["yesod-purescript"]
+        _result = P.compile modules ["yesod-purescript"] `runReaderT` _psOptions
         _psOptions = P.defaultCompileOptions { P.optionsMain = Just (T.unpack mainModuleName)
                                              , P.optionsNoPrelude = False
                                              , P.optionsAdditional = _compileOptions
diff --git a/yesod-purescript.cabal b/yesod-purescript.cabal
--- a/yesod-purescript.cabal
+++ b/yesod-purescript.cabal
@@ -1,5 +1,5 @@
 name:                yesod-purescript
-version:             0.0.4.7
+version:             0.0.5
 synopsis:            PureScript integration for Yesod
 description:         PureScript is an awesome statically typed language that compiles to JS and runs in your browser, and this module makes it easier to use PureScript in Yesod.
 homepage:            https://github.com/mpietrzak/yesod-purescript
@@ -26,7 +26,8 @@
                  , data-default
                  , formatting
                  , fsnotify
-                 , purescript >= 0.6.4 && < 0.6.8
+                 , mtl
+                 , purescript >= 0.6.9.3 && < 0.7
                  , regex-tdfa
                  , regex-tdfa-text
                  , shakespeare >= 2
