added ping reply scripts