Convert all indexing commands (and more)