In an action prosecuted or defended by an executor, administrator, trustee of an express trust or a person expressly authorized by statute costs shall be recovered as in an action by and against a person prosecuting or defending in his own right. But such costs shall be chargeable only upon or collected of the estate, fund, or party represented unless the court shall direct the costs to be paid by the plaintiff or defendant personally for mismanagement or bad faith in such action or defense.
S.C. Code § 15-37-180