change SCOPE and TEST environment variables to S and T