Updated the shell script.