Added option to use create instead of index call. Fixes #40