Preparation of the repository