revert script to original