started replacing some ruby scripts with haskell