refactored the cabal install command