Replaced main files with versions from For_MM.