updated to create startup log file