AliInst: Bash cleanup