intial setup with index file