Added restore command - closes #29