Updated to have an external logs directory