Fixed refs to agent in shell provider