Install agent script failing