adds backup and restore feature