Fixed mapM_ issue, thank you Glenn