Added scripts to measure and log packet loss