Revise scripts