added ping support via the config