added ability to save to an output file defined by the EXTRA_OUTPUT extra bundle variable