Modified FOP to output to stdout