reverts reboot logic in scriptfactory