Update scriptGenerator.py