Improve the shell pipeline section