Make USE_PING clause use the hostname variable