Fix in the shell code: format string for print
Get the shell name using 'ps'