more scripts replaced by haskell