Bash scripts for general purpose