Updated samples to stop using exitPosition.