A rough attempt at enhancing the security of a Bash script.