added animation RME to main function of visualizer.py