updated package install script