Update smartDispatch.py