Fixed a bug
Fixed the directory locations for logs