Implement script for stop and delete service