Allowing run.py to act as running Core script