Add an option to create a jar file containing the index file