Change sequence to reduce the number of reboots