changed CowboyBehaviour to use path finding as well