checks that the shell script you are about to run is sane