* Add double quotes for shell variables * Added exit for cd command. Prevent run commands after incorrect change directory.