reverted script