BASH: Update install script with install function