changed tomstop.py script