Bash utility scripts