Fix to only setup the bookstore if it exists