Programmatically operating on the Grid using command line Interface