Recreating repository