Added try-except to most calls to Bash commands.