removed log file & updated other code