bug fix in PIPELINE

need to run ngsArgs before ngsCmd in PIPELINE, when changing args.