Tweak the shell script so it is valid