added joint script (prefered in this case)