added ping script (work in progress)