Added validation for the menu items for processing the output. created bunch of utility methods for the various paths connected to an xmds script