fix the injector loop and DS comm with EC2 agents