Added chapter download functionality