Updated to newest version and add a log file