onLaunch needs to take a callback if we pass it one