Fix script.run so it works again.