adding pegasus output option