Replace cmd arguments with config