adapted the init to the change of repository structure