add off.py, testcontour updates