added a script to the rig module