Added dump/load index methods and command scripts, and other minor tweaks