Sa-learn-pipe.sh script modification