scrip after power off