Check for xmds before compiling or running a script