updated directory and error logs