add in simple comments for runcore.py