Send pe_mode argument and also separate the output_filename and directory
Merge pull request #206 from nds/add_sga_step_to_pipeline

Send pe_mode argument and also separate the output_filename and director...