Create runstate.py