Updated as per instructions
First go at adding index write
forgot to add index.html
Another go at this, got rid of callback
fixed typo, missing bracket