recorder: replace script with a short commnd