Main.hs mode changed