add logfile arg