add main for runhaskell