script to introduce a variable network latency