Added random weighting to agent behavior