modfied all run method in pipeline, to accept yaml format as configuration and subject file