Rewriting administrator scripts to use Bash 'getopts' options parser.