add in runcore.py to gernerate observable.h
so that the code can be run autometiclly.