I haven't tried it, but I guess it would work... You could just wrap [this line](https://github.com/scriptcs/scriptcs/pull/94/files#L1R26) with the threading code above. But I really think it makes the "scripting experience" a little less smooth.