included mmorph script and heatmap in main.py