Added Logfile And Auto Reporting