add buildindex command