Bash scripts i have hacked together