Tweaked to try and prevent extra agents from starting