new script for rigging