logfile is now configurable so it doesn't clutter up directory