Kali: Added a few bash improvements