Fixed the shell script