Update run script to emit user events.