Updated index to include email thank you message and choice logging