revise scripts