refactoring submit-topo to submit to cluster or to run local (when args specified)