diff --git a/HXQ.cabal b/HXQ.cabal
--- a/HXQ.cabal
+++ b/HXQ.cabal
@@ -1,6 +1,6 @@
 Cabal-Version:       >= 1.2
 Name:                HXQ
-Version:             0.18.1
+Version:             0.18.2
 Synopsis:            A Compiler from XQuery to Haskell
 Description:         
         HXQ is a fast and space-efficient compiler from XQuery (the standard
@@ -75,7 +75,7 @@
                        Text.XML.HXQ.Functions, Text.XML.HXQ.Compiler, Text.XML.HXQ.Interpreter,
                        Text.XML.HXQ.Optimizer, Text.XML.HXQ.OptionalDB, Text.XML.HXQ.Parser
   hs-source-dirs:      . src src/hxml-0.2
-  Build-Depends:       base >= 3 && < 5, haskell98, array, regex-base, regex-compat, template-haskell, mtl, haskeline, HTTP
+  Build-Depends:       base >= 4 && < 5, haskell98, array, regex-base, regex-compat, template-haskell, mtl, haskeline, HTTP
   ghc-options:         -O2 -funfolding-use-threshold=16
   if flag(mysql)
      Other-Modules:    Text.XML.HXQ.DB, Connect
diff --git a/Main.hs b/Main.hs
--- a/Main.hs
+++ b/Main.hs
@@ -18,16 +18,13 @@
 import Text.XML.HXQ.XTree
 import Text.XML.HXQ.Types
 import Text.XML.HXQ.Interpreter(evalInput,xqueryE,xfileDB)
-#if __GLASGOW_HASKELL__ >= 609
 import qualified Control.OldException as C
-#else
-import qualified Control.Exception as C
-#endif
 
+
 type E = C.Exception
 
 
-version = "0.18.1"
+version = "0.18.2"
 
 
 parseEnv :: [String] -> [(String,String)]
diff --git a/db.html b/db.html
--- a/db.html
+++ b/db.html
@@ -7,7 +7,7 @@
 <body>
 <center>
 <h1>HXQ with Database Connectivity</h1>
-<h3>Download <a href="/HXQ-0.18.1.tar.gz">HXQ-0.18.1.tar.gz</a></h3>
+<h3>Download <a href="/HXQ-0.18.2.tar.gz">HXQ-0.18.2.tar.gz</a></h3>
 </center>
 <p>
 <h2>Installation Instructions (HXQ with database connectivity)</h2>
diff --git a/index.html b/index.html
--- a/index.html
+++ b/index.html
@@ -7,7 +7,7 @@
 <body>
 <center>
 <h1>HXQ: A Compiler from XQuery to Haskell</h1>
-<h3>Download <a href="/HXQ-0.18.1.tar.gz">HXQ-0.18.1.tar.gz</a></h3>
+<h3>Download <a href="/HXQ-0.18.2.tar.gz">HXQ-0.18.2.tar.gz</a></h3>
 </center>
 <p>
 <h2>Description</h2>
@@ -101,7 +101,8 @@
 If you are new to Haskell, please read <a href="http://www.haskell.org/haskellwiki/Cabal/How_to_install_a_Cabal_package">
 How to install a Cabal package</a>. The easiest way to install
 packages in Haskell is using cabal.
-On Linux, you can install all these tools using <tt>yum install ghc happy cabal-install</tt>.
+On Linux, you can install Haskell and cabal using <tt>yum install ghc happy cabal-install</tt>.
+You must then update the list of known packages using <tt>cabal update</tt>.
 <p>
 The simplest way to install HXQ is by using the cabal command:
 <pre>
@@ -110,7 +111,7 @@
 which will automatically download and install all required packages.
 <p>
 An alternative way of installing HXQ is to download and install all required packages one-by-one:
-First download <a href="/HXQ-0.18.1.tar.gz">HXQ version 0.18.1</a> and untar
+First download <a href="/HXQ-0.18.2.tar.gz">HXQ version 0.18.2</a> and untar
 it (using <tt>tar xfz</tt> on Linux/Mac
 or <a href="http://www.7-zip.org/">7z x</a> on Windows).  Then,
 you execute the following commands inside the HXQ directory:
