fix(launcher): allow afterLaunch to run async scripts