Haskell script was not necessary.