adding in the log and error files