added file extensions and updated index