set errexit to install script