python rig importer script