Added set_output_path method