this.addScript(function reset() {
this.protoPin = this.get('FabrikPin');
this.protoPin.applyStyle({enableGrabbing: false, enableDragging: true});
this.protoPin.dragTriggerDistance = 0;
this.protoPin.setFill(Color.rgb(204,251,253));
this.protoPin.setBorderColor(Color.rgb(40,45,251));
this.wireColor = this.protoPin.getBorderColor()
this.setFill(this.wireColor.lighter());
this.get('showHideButton').toggle = true;
connect(this.get('showHideButton'), "fire", this, "showHidePins");
connect(this.get('UpdateButton'), 'fire', this, 'buildPartsList');
connect(this.get('targetButton'), 'fire', this, 'chooseTarget');
this.get('TickButton').toggle = true;
connect(this.get('TickButton'), 'fire', this, 'tickOnOff');
this.domain = null;
this.buildPartsList();
}).tag([]);