Finally used argparse in generate_collections.py. Updated menu.json.
Librarian can now sync to any directory (epubs) or to kindle (mobis).