undo previous script changes