updated pacman script