Merge reboot script into recovery building.