moved xhome_download to a script