Solved small bug that prevented the running if the log folder was not present