Removed the unnecessary grep for $pingip