Added options for calling the csalib index generation routine