add joint script. fix installation style.