add segmentation shell script