added offset to python
register content file added
added MEASURE_CYCLES although we leave it to 1