A bit more validation on the shell script