Revert "Revert "Addition of joint_id parameter to differentiate between activities.""

This reverts commit 1884039f60f4d4d3f7e1722f99c5012d97759546.
fixed silly mistake