diff --git a/Babylon.hs b/Babylon.hs
--- a/Babylon.hs
+++ b/Babylon.hs
@@ -4,8 +4,8 @@
 -}
 module Babylon where
 
-import List
-import Maybe
+import Data.List
+import Data.Maybe
 import Data.Tree
 import Control.Monad
 import Minimax
diff --git a/GUI.hs b/GUI.hs
--- a/GUI.hs
+++ b/GUI.hs
@@ -6,8 +6,8 @@
 module GUI where
 import Graphics.UI.WX hiding (play)
 import Graphics.UI.WXCore
-import Maybe
-import Random
+import Data.Maybe
+import System.Random
 import Utils (shuffleIO)
 import Babylon
 
diff --git a/Utils.hs b/Utils.hs
--- a/Utils.hs
+++ b/Utils.hs
@@ -4,7 +4,7 @@
 -}
 
 module Utils where
-import Random
+import System.Random
 import Data.Array.MArray
 import Data.Array.IO
 
diff --git a/babylon.cabal b/babylon.cabal
--- a/babylon.cabal
+++ b/babylon.cabal
@@ -1,20 +1,21 @@
 Name:           babylon
-Version:        0.2
+Version:        0.3
 Cabal-Version:  >= 1.2
 License:        GPL
-License-file:	LICENSE
+License-file:   LICENSE
 Author:         Pedro Vasconcelos <pbv@dcc.fc.up.pt>
-Maintainer:	Pedro Vasconcelos <pbv@dcc.fc.up.pt>
-Copyright:	(c) 2009 Pedro Vasconcelos
+Maintainer:     Pedro Vasconcelos <pbv@dcc.fc.up.pt>
+Copyright:      (c) 2009 Pedro Vasconcelos
 Synopsis:       An implementation of a simple 2-player board game
 Description:    The board game was originally designed by Bruno Faidutti (www.faidutti.com).
-		In this implementation you play against the computer. 
+                In this implementation you play against the computer. 
 Build-Type:     Simple
-Data-files:	images/White.png images/Black.png images/Brown.png images/Green.png README
-Category:	Game
+Data-files:     images/White.png images/Black.png images/Brown.png images/Green.png README
+Category:       Game
 
 Executable babylon
-  Build-Depends:  base>= 3 && < 4, haskell98, containers, wx >= 0.11, wxcore >= 0.11, array
+--  Build-Depends:  base>= 3 && < 4, haskell98, containers, wx >= 0.11, wxcore >= 0.11, array
+  Build-Depends:  base>= 3 && < 5, containers, random, wx >= 0.11, wxcore >= 0.11, array
   Main-Is:        Main.hs
   Other-modules:  Babylon Minimax GUI Utils
 
