Fixed the install and open of the xmds terminals