make boxpy.py generate a tai1.g replacement