Added debug variables to log file commands.