log.txt ignored and some other changes