add joint script