Fix bug with loading MESS carts.  Fix bug with creating logs directory.