added an attribute to control automatic reboot