example mass dispatch script