initialize the repository with original mbox code