Added log folder and fixed issue with incomplete config