CLI: Update doc and fix script