You said what you want to do, but you forgot to ask a question.
Are you asking how to create a shell script to invoke 8 different tasks? In BASH, you might want to use a
case statement.
However it may be easier to do what you want from AppleScript (which you can easily call from within Automator). You call shell scripts using the
DO SHELL SCRIPT command. To request admin functions, you use the "with administrator privileges" clause:
Code:
do shell script "some shell command" with administrator privileges