Update smart-pause.py