added reboot code after installation finishes