script stage 1