use metadata hooks in book info. left original code as a fall back