Set ykr_current_stage where needed.