new file:   autoscal.py