Complete pacman script

Pacman script re-edited