updated stage02 script