accommodating upstream changes
fixed name of output file