Add function to ping all path