Added log.txt showing debug messages