Add shell script so batch analyst can be used from the shell prompt. Fixes #1346.
Make sure to pass the arguments in. #1346.