Made sending config more efficient