Make install script more portable (using bash)
Remove redundant