Changing the definition of shell to use (sh->bash). It is done to be compliant with the substring command used at line 10.