adds scratch, and a few changes to inverse-backup