Mode standalone: also import math library
Mode standalone: rename resulting file to ID.py, set executable