Changes to documentation, and use safer repack flags