Update install script based on shellcheck improvements