create the manifest and index file