you could send all stdout to a file instead of using spool in a file