add code from livecd