Update optimize.py with reference to nototools