added command for reindexing bundles

use `sprintf`