factor out guamps install script