index: fix some typos on the command invocation

Closes #47 and #40.