Got example to run with only internal async code, ready to add lifecycle events to Script