Added process path check for stop action