Fixed log folder

Now creates a folder for logs.