install script, adding ag to it as well