added ability to turn log on and off, integrated dictionnary to code, log name will now be different every time (using Date)