Added different versions for COMMAND files
Added support for specifying the path of the COMMAND file and for the output dir for netCDF4 file