add function to install xen