Add kaizen to switch-to-haskell function