diff --git a/taffybar.cabal b/taffybar.cabal
--- a/taffybar.cabal
+++ b/taffybar.cabal
@@ -1,5 +1,5 @@
 name: taffybar
-version: 4.0.1
+version: 4.0.2
 synopsis: A desktop bar similar to xmobar, but with more GUI
 license: BSD3
 license-file: LICENSE
@@ -29,7 +29,6 @@
 
   default-language: Haskell2010
   build-depends: base > 3 && < 5
-               , ConfigFile
                , HStringTemplate >= 0.8 && < 0.9
                , X11 >= 1.5.0.1
                , aeson
@@ -72,7 +71,7 @@
                , rate-limit >= 1.1.1
                , regex-compat
                , safe >= 0.3 && < 1
-               , scotty >= 0.11 && < 0.13
+               , scotty >= 0.11 && < 0.22
                , split >= 0.1.4.2
                , status-notifier-item >= 0.3.1.0
                , stm
@@ -154,7 +153,7 @@
                  , System.Taffybar.Widget.XDGMenu.Menu
                  , System.Taffybar.Widget.XDGMenu.MenuWidget
                  , System.Taffybar.WindowIcon
-                   
+
   other-modules: Paths_taffybar
                , System.Taffybar.DBus.Client.MPRIS2
                , System.Taffybar.DBus.Client.Params
