Scripts and other tools for managing e-book libraries