Add helper script to log to output dir.