reworking the install script