Reactivated the old ground line fitting code