Made index creation able to recognise special options