added some debugging code to try and work out what is going on..
ignore log files and personal config file