Add the possibility to choose the starting directory of an xmds terminal