changed the ssh-agent checks