Restore old Main.hs