added reactormg.py