Enable book type via install hook
Wrong content type in array_search
Create token and add it to installer